package org.dromara.system.pojo.qo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.dromara.common.web.core.domain.BaseQO;

import java.io.Serial;
import java.time.LocalDateTime;

/**
 * 租户表 实体类。
 *
  * @author mkj
  * @since 2024-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "租户表")
public class SysTenantQO extends BaseQO {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "租户id")
    private Long tenantId;

    @Schema(description = "联系人")
    private String contactUserName;

    @Schema(description = "联系电话")
    private String contactPhone;

    @Schema(description = "企业名称")
    private String companyName;

    @Schema(description = "统一社会信用代码")
    private String licenseNumber;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "企业简介")
    private String intro;

    @Schema(description = "域名")
    private String domainName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "租户套餐编号")
    private Long packageId;

    @Schema(description = "过期时间")
    private LocalDateTime expireTime;

    @Schema(description = "用户数量（-1不限制）")
    private Integer accountCount;

    @Schema(description = "状态（1正常 0停用）")
    private Integer status;
}
